/*
 * @Description  :
 * @Autor        : guoxi
 * @Date         : 2022-09-27 17:09:42
 * @LastEditors  : Please set LastEditors
 * @LastEditTime : 2022-09-27 17:55:41
 * @FilePath     : \rpms\src\components\ReCharts\index.ts
 */
import { App } from "vue";
import reBar from "./src/Bar.vue";
import reGithub from "./src/Github.vue";
import reInfinite from "./src/Infinite.vue";
import reLine from "./src/Line.vue";
import rePie from "./src/Pie.vue";
import rePieRadius from "./src/PieRadius.vue";
import rePieOther from "./src/PieOther.vue";
import reBarDevelop from "./src/BarDevelop.vue";
import reScroll from "./src/Scroll.vue";
import reExpenditure from "./src/Expenditure.vue"; // 经费支出比例
import reAchievements from "./src/Achievements.vue"; // 项目成果图
import reExpenditureBar from "./src/ExpenditureBar.vue"; //经费支出比例 柱状折现混合图
import rePieHome from "./src/PieHome.vue";
import reHomeBar from "./src/HomeBar.vue"; //经费支出比例 柱状折现混合图

export const ReBar = Object.assign(reBar, {
  install(app: App) {
    app.component(reBar.name, reBar);
  }
});

export const ReGithub = Object.assign(reGithub, {
  install(app: App) {
    app.component(reGithub.name, reGithub);
  }
});

export const ReInfinite = Object.assign(reInfinite, {
  install(app: App) {
    app.component(reInfinite.name, reInfinite);
  }
});

export const ReLine = Object.assign(reLine, {
  install(app: App) {
    app.component(reLine.name, reLine);
  }
});

export const RePie = Object.assign(rePie, {
  install(app: App) {
    app.component(rePie.name, rePie);
  }
});

export const RePieRadius = Object.assign(rePieRadius, {
  install(app: App) {
    app.component(rePieRadius.name, rePieRadius);
  }
});

export const RePieOther = Object.assign(rePieOther, {
  install(app: App) {
    app.component(rePieOther.name, rePieOther);
  }
});

export const ReBarDevelop = Object.assign(reBarDevelop, {
  install(app: App) {
    app.component(reBarDevelop.name, reBarDevelop);
  }
});

export const ReScroll = Object.assign(reScroll, {
  install(app: App) {
    app.component(reScroll.name, reScroll);
  }
});

export const ReExpenditure = Object.assign(reExpenditure, {
  install(app: App) {
    app.component(reExpenditure.name, reExpenditure);
  }
});

export const ReAchievements = Object.assign(reAchievements, {
  install(app: App) {
    app.component(reAchievements.name, reAchievements);
  }
});

export const ReExpenditureBar = Object.assign(reExpenditureBar, {
  install(app: App) {
    app.component(reExpenditureBar.name, reExpenditureBar);
  }
});
export const ReHomeBar = Object.assign(reHomeBar, {
  install(app: App) {
    app.component(reHomeBar.name, reHomeBar);
  }
});
export const RePieHome = Object.assign(rePieHome, {
  install(app: App) {
    app.component(rePieHome.name, rePieHome);
  }
});
